﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SCM.Domain.StockCheck
{
    /// <summary>
    /// 库存盘点
    /// </summary>
    public class CheckModel
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        /// <summary>
        /// 盘盈单号
        /// </summary>
        public string CheckCode { get; set; }
        /// <summary>
        /// 盘盈结果
        /// </summary>
        public string CheckResult { get; set; }
        /// <summary>
        /// 仓库编号
        /// </summary>
        public int DepotId { get; set; }
        /// <summary>
        /// 盘点类型
        /// </summary>
        public int CheckType { get; set; }
        /// <summary>
        /// 盘点开始时间
        /// </summary>
        public DateTime StartTime { get; set; }
        /// <summary>
        /// 盘点结束时间
        /// </summary>
        public DateTime EndTime { get; set; }
        /// <summary>
        /// 出库状态
        /// </summary>
        public int OutStatus { get; set; }
        /// <summary>
        /// 入库状态
        /// </summary>
        public int EnterStatus { get; set; }
        /// <summary>
        /// 盘点产品
        /// </summary>
        public int CheckProduct {  get; set; }
        /// <summary>
        /// 盘点数量
        /// </summary>
        public int CheckNum { get; set; }
        /// <summary>
        /// 盘盈数量
        /// </summary>
        public int ProfitNum  { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public  bool IsDel {  get; set; }=false;
    }
}
